Once you have created a course and added a section type "Checkpoint - Profile information"

This can be used to collect data required for specific legalities and requirements.

The section can be added in any order to your course. You can then choose which profile information you require before the student/user can progress part that part of the course.

Choose "checkpoint - Profile INformation" and the following screen will appear:

Select the information you want to be required by ticking the boxes next to each data type.