A population is the whole group of interest. A census attempts to collect data from every member; a sample studies a subset. A census can still suffer coverage, non-response, wording or measurement bias.
Random sampling uses chance to select members. Non-random methods such as convenience sampling can be practical but may systematically over-represent easy-to-reach groups. Sample size does not repair systematic selection bias.
An experiment deliberately imposes a condition or treatment; an observation records what already happens. Observational association does not by itself establish causation.
Digital devices and simulations can improve consistency, but precision is not the same as accuracy. Calibration, resolution, environmental conditions and rounding affect error.
Ethical collection considers consent, privacy, inclusion and respectful use. Sampling decisions also matter in artificial intelligence: biased training data can produce biased models.