Why Some Engines Have Both Port And Direct Injection

Port fuel injection and direct injection are similar but distinct systems, so why do some engine designs include both?