What the 15 characters mean
Characters 1–2 are the state code (27 is Maharashtra, 07 is Delhi). Characters 3–12 are the holder’s PAN. Character 13 is the registration number for that PAN in that state (1 for the first, 2 for the second, and so on). Character 14 is Z by default. Character 15 is a check digit calculated from the first 14.
The 4th character of the PAN tells you the entity type: P for an individual, C for a company, F for a firm or LLP, H for an HUF, and so on.