From the Super Mario Wiki, the Mario encyclopedia
Cogs (also known as gears) are obstacles in some Mario platformers. They have the ability to push the player off if one tries to climb one.
Super Mario series
New Super Mario Bros. Wii
New Super Mario Bros. U
New Super Luigi U