From the Super Mario Wiki
A Chainsaw (also called a Buzz Saw) is a mechanical saw that travels on wires in the game Super Mario World. Mario can perform a Spin Jump or stomp it while on Yoshi to rebound on these objects.
They appear in most of the levels that have wires with platforms traveling across them. A large number of them can be found in Cheese Bridge Area.