IIRC there are 3 different methods seen for food creation in Star Trek.
Protein Resequencers (ST:ENT, ST:TOS)" which presumably take stored amino acids and combined them with supplementary minerals and flavouring into nutritious cubes that look like marshmallows.
Matter Recombinators (ST:TOS): capable of taking stored matter and producing ‘simple’ foodstuffs like drinks, iced cream, slabs of protein similar to chicken breast or steak, etc. I think these were sometimes called replicators but the distinction is the production is done elsewhere and the food delivered in seconds on request.
Replicators (ST:TNG +): I swear they described this as direct energy to matter conversion but I can’t find the source for this. The seemingly ridiculous energy demands this requires can be justified by the fact they use matter+antimatter reactions for energy supply. A cup of water would take a cup of fuel give or take.
Transports it’s been clear from the beginning the matter is being deconstructed into energy and sent to the destination where it is reconstructed using the original’s pattern. The ethics of it are dubious because every time you see someone transport they are being literally killed in front of your eyes and a new copy created elsewhere.
Corgana@startrek.website 2 minutes ago
The replicators work very well, thank you.