Hi, I know you are learning game dev,awesome to add rigidbody you can do one thing you can simply
choose the gameobject on which you want to apply rigidbody component
remember that you have to go the inspector panel and click on plus
at the bottom
and search for rigidbody
and click Enter
Here you go:-- :)