By default, tasks are assigned to the person that creates the task. However, you can change that during task creation. Here is how you do that.

You can also change the assignee anytime after creating a task. First navigate to the task (click here to learn how you can navigate to a task). You can then change assignee like so.