Whichever name you enter in your web browser, the same website will load.
Domain names do not need to differ only in the ending (.com, .net, .org, etc.), although this is the most common type of "parking". Names can be completely different (for example: company-name.com and branch-company.com). The important thing is that both names will point to a website.