Old metal ends of wood bench that has rotted away. You can clean with a wire brush or sand blast if you have the equipment.
Use a good rust prohibitor primer then outdoor paint of your choice.
Install new boards, I used oak wood recycled from pallets.