Can someone explain the idea of "structure affects function" please? And can you please give me an example?

The way something is built determines how it is used.

It's easier to eat off a table than a bed. But I don't want to sleep on a table.

Try riding a bike that doesn't have any pedals.