Density refers to the number of organisms in a unit area, while dispersion describes how those organisms are arranged spatially. Both density and dispersion provide insights into territoriality and competition between organisms by indicating how crowded or spread out they are in a given environment.