How do autopsy works?

Like do they cut the dead body to see if there's inside her stomach
Like for example how do they know they have eaten food or juice or they have drugs
How do autopsy works?
Post Opinion