You can assign resources to tasks in the Gantt Chart view by filling in the Resource Names column.
However, the Task Usage view is more effective for analysis. In this view, you can change the table on the left and the displayed data (details) on the right.
To assign resources to tasks, you need to:
Click the Assign Resources button on the Resource tab