The shadow file stores secure account information, including encrypted passwords and password aging parameters like maximum and minimum days between changes. The password (passwd) file historically stores basic user information, while profile handles shell configuration.