When you are using a details layout view for a folder, all items in the folder will be displayed by details in columns.
You can select the details you want to display for the items in a folder.
This tutorial will show you how to add and remove columns in a folder for your account in Windows 11.