How are animals classfied into being bulls boars bucks ect?

These are all names for the male of particular species. They are colloquial rather than classification terms. To oversimplify, you classify by how similar one thing is to another.