In this paper, we report an experimental activity suitable for undergraduate students that makes
them question their ideas about locality and realism. The experiment here reported complements
previous educational approaches to Bell inequalities, since the usually called S function, that
quantifies correlations, is mapped by measuring it for different detection angles. The students
themselves worked in a pre-aligned setup that allowed them to test and violate the
Clauser–Horne–Shimony–Holt–Bell inequality for two distant photons entangled in polarization.