Partnership:
When two or more people runs a joint business, they are called partners and the deal is known as partnership.
Ratio of Divisions of Gains
If two partners, $A$ and $B$ invest Rs. $x$ and Rs. $y$ respectively for a year in a business, then at the end of the year:
($A$'s share of profit) : ($B$'s share of profit) $=x:y$.
If $A$ invests Rs. $x$ for $p$ months and $B$ invests Rs. $y$ for $q$ months then,
($A$'s share of profit) : ($B$'s share of profit) $=xp:yq$.
Working and Sleeping Partners:
working partner is the one who runs the business and sleeping partner is the one who simply invests the money in the business.