A piece of work requiring effort, resources and having a concrete outcome (a deliverable).
Although a task may be of any size (a project is a very large task), the term task is usually used to refer a smaller piece of work.
Tasks are also called activity. They take place over a period of time and generally consumes resources. Projects are made up of tasks, usually grouped in what is called a work pakages.