Custom new field creation for the individual product based on the new feature implemented in our app

How to create a new field in the product details in catalog of admin and how to give different input fields based on our new featuers implemented in our app development