These traps look like a miniature steel drum. It has an access cap at the top. Once the trap is installed, only the access cap in the floor is visible.
It is a container designed in the path of drainage water pipe to prevent big particles from moving down the drain or sewer odor from flowing back to the house.