How to Create Custom Single Post Templates in WordPress

if we have a custom post type “Food” with slug “food”
Then we can create single page specific to this custom posts as:
single-food.php