No, a robbery is stealing from a person by force.
A burglary is stealing from a dwelling.
Taking a gun from a car is stealing.
Don’t use terms that confuse the situation.
“burglary is stealing from a dwelling.”
Nah dude try again.
Burglary is entering a dwelling or building without permission with INTENT to commit a crime. The crime doesn’t even have to have one iota to do with any theft.
And no breaking and entering is required. Just entering.