Compulsory voting refers to the legal requirement for citizens to participate in elections by casting a ballot. In countries with compulsory voting laws, eligible voters are obligated to vote in national and sometimes local elections, with potential penalties for those who fail to do so.