Models Models control the data source, they are used for collecting and issuing data, this could be a remote service, as XML, JSON or using a database to get and fetch records. A Model is a class. The model needs to extend the parent Model, either th…