Many companies follow the CTC (cost to company) structure of salary payment. CTC is the total of the gross salary plus all the benefits provided by the employer. Some employers don't add some benefits to the CTC.
In this CTC-based structure, the salary has multiple components that are shown in the salary slip. When HR follows a standard template, they can: