Dislocation density is a measure of the number of dislocations in a unit volume of a crystalline material, which directly influences the material's mechanical properties such as strength and hardness. Higher dislocation densities typically enhance the strength of materials through mechanisms like work hardening, but can also lead to brittleness if not controlled properly.