This online, interactive lesson on foundations provides examples, exercises, and applets which review the algebra of sets and functions, general relations with special emphasis on equivalence relations and partial orders, and some basic combinatorial structures such as permuations and combinations.