This document defines and discusses piecewise and step functions. It defines a piecewise function as a function made up of multiple sub-functions, each applying to a certain interval of the domain. A piecewise function can be created to behave differently based on the input value. An example is given of a function made up of three pieces. Step functions are also discussed, and the document provides an activity for readers to solve problems involving these types of functions.