We will utilize the inbuilt
uiObjectInfoApi library provided by salesforce.
It contains all the required methods to get the information about picklist field values.
This Library has the following 3 methods which we are going to learn
getPicklistValues Gives all the picklist values for the defined field. know More Here
getPicklistValuesByRecordType Gives all the picklist values information related to a Recordtype for a Object. Know More here
getObjectInfo gives you the complete information about the object. Know more here
Here is the video for the same
Here is the complete code for your reference