Every person in the Defence force is given a rank to denote his position and is recognized by it. It is the rank. Which groups the service personnel as officer ranks and PBOR ranks?

Every person in the Defence force is given a rank to denote his position and is recognized by it. It is the rank. Which groups the service personnel as officer ranks and PBOR ranks?