Both are good at their own place. Appium is used to automate the mobile-based application which we generally call an app appium is best to use. And to automate the Web-based applications for which as well we call as app (application) selenium webdriver is best to use.
Both Selenium and Appium are free and open-source and can be used with a variety of programming languages are the best candidates for automating Web as well as mobile-based applications. Using Appium we can automated apps on Android and iOS. If you are looking to learn these technologies then you must have a look at the following Selenium Training Course. If you are more interested in reading you must read the following Selenium Tutorial. Here is a video tutorial that you can follow in order to learn this free of cost. .