Databases are used to store information that can be accessed through languages such as PHP and used in a way that allows for dynamic data output to a website. For example, if the database was storing five names of people: John, Joe, Bill, Sally, and Jane, a user on a website could opt to only see the male names by choosing that option on a form. Then the database would communicate with that form and only output John, Joe and Bill to the user, leaving out Sally and Jane.
Dtabase are used for storing information,retrieving information,manipulating information,printing information and database also used for: Summarizing reports by any field,Creating mailing labels,Viewing lists by sorted orders,Printing data on preprinted forms,Tracking vital information,Merging data to other programs and Creating custom designed forms.
Database is a way for us to managing data. Database also processing any parameter of the data. Database also providing the way we can accessing it and get the information, directly or indirectly.