What is the code to bring in blogs for a specific category into a widget?

Hi, can you tell me what the code would be to bring in a blog category in a widget or also in the center of a page please.