A public blockchain is open to anyone who wants to participate, while a private blockchain is restricted to a select group of participants.