Why is PDF better than JPEG?

PDF’s are great for documents with text, forms, and images that contain words. They can even be used for images since they include automatic image compression. With JPEGs lossy compression removes data from the original files so lines can show up poorly (such as logos and other graphics with lines) so it’s best to use JPEGs for files without those attributes.