Hardware that looks like paddle wheels is anchored to the sea bed. The moving water turns the paddle wheels which are attached to generators. The turning motion produces electricity.
google "tidal energy", "tidal power generation", etc, and you'll find out much more than you ever want to know.
good ? go here http://kokoye.com/solarenergy-review get your answer