Metadata Api is used to fetch all the metadata for Salesforce
Whenever you want to add/edit metadata component, then metadata api is used. Specially if you want to make a component generic or when you're developing tools or when you're using SFDX then it comes in picture. With normal customization or OOTB stuff it will not come in picture.