How can i create a beam effect using particles?

How can I be creating a beam using particles? I want to do something similar to the video below.

I don’t know if this topic is in the correct category.