Revolut Interview Question

Whats the difference between sharding and partitioning in mysql?