Am I legally required to pay taxes on the rent I collect from people living in rooms I rent out in my primary residence?

I will be moving into a three bedroom home and will be renting out two of the rooms to two different people.

Am I legally required to pay taxes on the rent I collect from people living in these rooms I rent out in my primary residence?

If so how much are these taxes?