what is the basis of creation of 2 big sects in buddhism''

I dun knw where should i post this Q.. so im posting it here

**what is the basis of creation of 2 big sects in buddhism i.e. mahayana and hinayana buddhism??

**