What is the difference between a buoy and a beacon

A buoy is a floating device that is anchored to the seafloor…