I was looking around on the interwebs and found a good website that shares the laws of the road that you need to know as a cyclists check the link below and educate yourself.
SECTIONS 21200-21212 and 22111
(a) Every person riding a bicycle upon a highway has all the rights and is subject to all the provisions applicable to the driver of a vehicle by this division, including, but not limited to, provisions concerning driving under the influence of alcoholic beverages or drugs, and by Division 10 (commencing with Section 20000), Section 27400, Division 16.7 (commencing with Section 39000), Division 17 (commencing with Section 40000.1), and Division 18 (commencing with Section 42000), except those provisions which by their very nature can have no application.
(b) (1) Any peace officer, as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2 of the Penal Code, operating a bicycle during the course of his or her duties is exempt from the
requirements of subdivision (a), except as those requirements relate to driving under the influence of alcoholic beverages or drugs, if the bicycle is being operated under any of the following
(A) In response to an emergency call.
(B) While engaged in rescue operations.
(C) In the immediate pursuit of an actual or suspected violator of the law.
(2) This subdivision does not relieve a peace officer from the duty to operate a bicycle with due regard for the safety of all persons using the highway.
21200.5. Notwithstanding Section 21200, it is unlawful for any person to ride a bicycle upon a highway while under the influence of an alcoholic beverage or any drug, or under the combined influence of an alcoholic beverage and any drug. Any person arrested for a violation of this section may request to have a chemical test made of the person's blood, breath, or urine for the purpose of determining
the alcoholic or drug content of that person's blood, and, if so requested, the arresting officer shall have the test performed. A conviction of a violation of this section shall be punished by a fine of not more than two hundred fifty dollars ($250). Violations of this section are subject to Section 13202.5.
The laws you need to know as a cyclist.