ZIP is an open format, available and even built-in in most operating systems.
RAR is a newer format, less popular, created and owned by the WinRAR software developer. RAR offers a better and faster compression.