A task is the smallest unit of work, in other words, the "atom" of a build. Tasks are independent executable components which may have inputs and outputs.
A target is a named sequence of tasks
Imported files are effectively inserted into the project file wherever they are referenced
four parts of MSBuild: properties, items, tasks, and targets
Clicking the Buildcommand in Visual Studio will execute the default target in the project. Often, this target is also named Build. Choosing the Rebuildor Cleancommand will attempt to execute a target of the same name in the project. Clicking Publishwill execute a target named PublishOnlyin the project.