Need to create a beat.

I need to create a new beat for an advertisement for a [advertising link deleted]. The beat I have to create will be designed using a few different devices including piano, drums, and guitar. Is there an option to add all these devices in audacity and record sound from them which can be later combined together forming a beat?

Audacity and audio editor that can also record audio and it can generate some basic tones but it doesn’t make/use virtual instruments. You need MIDI software.