Well, this is awkward.
For years, iPhoto was the photo organizing/editing program that came free with every Mac. But in 2015, Apple replaced it with a new program called Photos. So you might have iPhoto, you might have Photos, and you might have both.
Since iPhoto is going away, Photos is the app described in this book (Photos).