How does a trash compactor work?

Answer:
There is a hydraulic pump on the back of the truck, and when trash needs to be compacted, it pushes a piston forward, smashing the trash together.
First answer by Therandomqsguy. Last edit by Therandomqsguy. Contributor trust: 3 [recommend contributor recommended]. Question popularity: 4 [recommend question].